package com.kgc.scd.controller;

import com.kgc.scd.service.ShopAddressServerService;
import com.kgc.scd.vo.ShopAddressVO;
import io.swagger.annotations.Api;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * Created On : 2022/11/16.
 * <p>
 * Author : Administrator
 * <p>
 * Description: ShopAddressServerController
 */
@Slf4j
@RestController
@Api(tags = "服务端地址接口")
public class ShopAddressServerController {


    @Autowired
    private ShopAddressServerService shopAddressServerService;


    @GetMapping("/getShopAddressById")
    public ShopAddressVO getShopAddressById(String addressId){

        return shopAddressServerService.getShopAddressById(addressId);
    }
}
